<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>弹出框</title>
    <link href="../../../css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
    <div class="container">
        <button type="button"class="btn btn-default js-popover" data-placement="bottom"
                data-toggle="popover" title="标题"data-content="这里是内容区域"data-animation="false" data-trigger="focus">
            弹出框
        </button>
    </div>
<script src="../../../js/jquery-2.1.1.js"></script>
<script src="../../../js/bootstrap.js"></script>
<script>
    $(".js-popover").popover();
    $(".js-popover").on("shown.bs.popover",function(e){
        console.log("Hello");
    })
</script>
</body>
</html>